<?php
/**
 * Created by PhpStorm.
 * User: fyl
 * Date: 2016/11/21
 * Time: 14:14
 */

/**
 * Class Involved_UserModel
 */

class Involved_TestModel extends BaseModel{

    protected $table = 'test';

    public function TestIndex()
    {
        $id=1;

        return  DB::table($this->table)
            ->where('id',$id)
            ->increment('number', 1);
    }



}